Change the "gtk-fontconfig-timestamp" property from int to uint. Doesn't
authorBehdad Esfahbod <behdad@gnome.org>
Sun, 1 Feb 2009 06:04:12 +0000 (06:04 +0000)
committerBehdad Esfahbod <behdad@src.gnome.org>
Sun, 1 Feb 2009 06:04:12 +0000 (06:04 +0000)
2009-02-01  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtksettings.c (gtk_settings_class_init): Change the
        "gtk-fontconfig-timestamp" property from int to uint.  Doesn't affect
        anything in practice, except that  it overflows years later...

svn path=/trunk/; revision=22270

ChangeLog
gtk/gtksettings.c

index d3613065f58a1c28355f5c998dff878f7b6e54b8..366bc51b40891475f6502d8c655cf2de9b26f478 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-02-01  Behdad Esfahbod  <behdad@gnome.org>
+
+       * gtk/gtksettings.c (gtk_settings_class_init): Change the
+       "gtk-fontconfig-timestamp" property from int to uint.  Doesn't affect
+       anything in practice, except that  it overflows years later...
+
 2009-02-01  Behdad Esfahbod  <behdad@gnome.org>
 
        Bug 569635 – fontchooser should reload list of families/styles on
index b89957ddecd4f4ef9bc8be12ef70a3f1609dbf86..c3c1a78c3dd00ac44514a6253c16ae4016b37983 100644 (file)
@@ -870,11 +870,11 @@ gtk_settings_class_init (GtkSettingsClass *class)
   g_assert (result == PROP_RECENT_FILES_MAX_AGE);
 
   result = settings_install_property_parser (class,
-                                            g_param_spec_int ("gtk-fontconfig-timestamp",
-                                                              P_("Fontconfig configuration timestamp"),
-                                                              P_("Timestamp of current fontconfig configuration"),
-                                                              G_MININT, G_MAXINT, 0,
-                                                              GTK_PARAM_READWRITE),
+                                            g_param_spec_uint ("gtk-fontconfig-timestamp",
+                                                               P_("Fontconfig configuration timestamp"),
+                                                               P_("Timestamp of current fontconfig configuration"),
+                                                               0, G_MAXUINT, 0,
+                                                               GTK_PARAM_READWRITE),
                                             NULL);
   
   g_assert (result == PROP_FONTCONFIG_TIMESTAMP);